package com.fzdy.dataplatform.service.impl;

import com.fzdy.dataplatform.core.dao.Dao;
import com.fzdy.dataplatform.core.service.impl.BaseServiceImpl;
import com.fzdy.dataplatform.dao.AnnouncementDao;
import com.fzdy.dataplatform.entity.Announcement;
import com.fzdy.dataplatform.service.AnnouncementService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.transaction.Transactional;

@Service
@Transactional
public class AnnouncementServiceImpl extends BaseServiceImpl<Announcement> implements AnnouncementService {

    @Autowired
    private AnnouncementDao announcementDao;

    @Override
    protected Dao getDao() {
        return announcementDao;
    }
}
